<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>栏目显示页面</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <css file="__PUBLIC__/css/base.css"/>
	<jsconst />
</head>
<body style="padding:10px;">
    <div class="now_path">
        <strong>您现在的位置：</strong>
        <a href="#">小区管理</a>
    </div>
	 <div class="send1">
        <a href="__CONTROL__/add_show" target="con" class="current button1">添加小区</a>
    </div>
	<form action='__CONTROL__/piliang' method='post'>
    <table class="table1">
        <thead>
            <tr>
                <td width="30">排序</td>
                <td width="20">小区ID</td>
                <td width='160'>小区名称</td>
				<td width='50'>房屋管理</td>
				<td width='50'>城市</td>
				<td width='60'>状态</td>
                <td width="150">操作</td>
            </tr>
        </thead>
        <tbody>
        <tr style='background:#F0F0F0;'>
		<foreach from='$xiaoqu_row' value='$v'>
			<tr>	
	            <td width="30">
					<input type='text' name='{$v.qid}[sort]' value='{$v.sort}' class='sort'/>
				</td>
	            <td width="20">{$v.qid}</td>
	    		<td width="160">
	    			<input type='hidden' name='{$v.qid}[qid]' value='{$v.qid}' />
	    			<input type='text' name='{$v.qid}[qname]' value='{$v.qname}' class='changename'/> </td>
				<td bgcolor='#f0f0f0'><a href='__WEB__/admin/house/add_show/qid/{$v.qid}/cid/{$v.cid}'>添加房屋</a></td>
				<td width='50'>{$v.cname}</td>
				<td width='60'>
					<if value='$v.status eq 1'>
						启用 <a href='__CONTROL__/status/qid/{$v.qid}/set/0' id='status'>禁止</a>
					<else />
						禁止<a href="__CONTROL__/status/qid/{$v.qid}/set/1" id='status'>启用</a>
					</if>
				</td>
	    		<td width="150" style="font-size:12px;">
		        	<a href="__CONTROL__/modify_show/qid/{$v.qid}">修改</a> | 
		        	<a href="__CONTROL__/del/qid/{$v.qid}">删除</a>
	    		</td>
			</tr>
		</foreach>
	</tbody>  
	</table>
	
	<input type='submit' value='批量修改' class='button4'/>
</body>
</html>
